﻿package com.eitb.imagenes {
	import flash.net.*;
	import flash.display.*;
	public class GaleriaImagenIcono extends Sprite {
		private var rutaIcono:URLRequest;
		private var rutaImagen:URLRequest;
		private var imagen:Bitmap;
		private var icono:Bitmap;
		private var startY:Number;
		private var epigrafe:String;
		public function GaleriaImagenIcono():void {
			this.buttonMode = true;
			this.mouseChildren = false;
		}
		public function setRutaIcono(ruta:URLRequest) {
			this.rutaIcono = ruta;
		}
		public function getRutaIcono():URLRequest {
			return this.rutaIcono;
		}
		public function setRutaImagen(ruta:URLRequest) {
			this.rutaImagen = ruta;
		}
		public function getRutaImagen():URLRequest {
			return this.rutaImagen;
		}
		public function setImagen(imagen:Bitmap){
			this.imagen = imagen;
		}
		public function getImagen():Bitmap {
			return this.imagen;
		}
		public function isImagen():Boolean {
			return (null != this.imagen) as Boolean;
		}
		public function setIcono(icono:Bitmap){
			this.icono = icono;
		}
		public function getIcono():Bitmap {
			return this.icono;
		}
		public function isIcono():Boolean {
			return (null != this.icono) as Boolean;
		}
		public function setStartY(number:Number):void {
			this.startY = number;
		}
		
		public function getStartY():Number {
			return this.startY;
		}
		public function getEpigrafe():String {
 			return this.epigrafe;		
		}
		public function setEpigrafe(texto:String):void {
			this.epigrafe = texto;
		}
	}
}